package com.ba.base.model.vo

import java.math.BigDecimal

data class AppUserInfoEntity(
    val birth: String,
    val code: String,
    val communityIds: List<Any>,
    val communities: List<Communities>,
    val gmtCreate: Long,
    val gmtModified: Long,
    val houses: List<House>,
    val idnumber: String,
    val isSyn: Int,
    val loginUrl: String,
    val mobile: String,
    val mz: String,
    val nickName: String,
    val password: String?,
    val picId: String,
    val picUrl: String,
    val realName: String,
    val sex: Boolean,
    val status: Int,
    val userDO: UserDO,
    val userId: String,
    val userType: Int//用户身份(0既是物业又是业主,1物业或游客，2业主，3游客)
)

data class GmtCreate(
    val date: Int,
    val day: Int,
    val hours: Int,
    val minutes: Int,
    val month: Int,
    val nanos: Int,
    val seconds: Int,
    val time: Int,
    val timezoneOffset: Int,
    val year: Int
)

data class GmtModified(
    val date: Int,
    val day: Int,
    val hours: Int,
    val minutes: Int,
    val month: Int,
    val nanos: Int,
    val seconds: Int,
    val time: Int,
    val timezoneOffset: Int,
    val year: Int
)

data class House(
    var building: String,
    val buildingId: String,
    val choosed: String,
    val communityId: String,
    val communityName: String,
    val createTime: String,
    val houseId: String,
    val houseNumber: String,
    val id: String,
    val identity: Int,
    val remark: String,
    val unit: String,
    val unitId: String,
    val updateTime: String,
    val userId: String,
    val populationId: String,
    val buildingArea:BigDecimal
)

data class Communities(
    val cardNos: List<String>,
    val communityId: String,
    val populationId: String
)
data class UserDO(
    val appUserId: Int,
    val communities: List<Community>,
    val communityIds: List<Any>,
    val csrq: String,
    val deptId: Long,
    val deptName: String,
    val email: String,
    val gmsfhm: String,
    val gmtCreate: Long,
    val gmtModified: String,
    val gridCode: String,
    val jg: String,
    val lasttimeOnline: String,
    val mobile: Long,
    val mz: String,
    val name: String,
    val password: String,
    val picId: Int,
    val picUrl: String,
    val policeCode: String,
    val populationId: String,
    val remark: String,
    val roleIds: List<Any>,
    val status: Int,
    val type: Int,
    val userId: String,
    val userIdCreate: Int,
    val username: String,
    val xb: String,
    val xl: String,
    val zjxy: String,
    val zzmm: String
)

data class Community(
    val communityId: String,
    val communityName: String,
    val createId: Int,
    val createName: String,
    val createTime: String,
    val id: String,
    val remark: String,
    val reserve1: String,
    val reserve2: String,
    val updateTime: String,
    val updater: String,
    val userId: String
)